package com.wave.wavesystem.ai.service;

import com.mybatisflex.core.query.QueryChain;
import com.wave.common.core.IWaveService;
import com.wave.wavesystem.ai.pojo.entity.RagPostChunk;
import com.wave.wavesystem.ai.pojo.query.RagPostChunkQuery;

import java.util.List;


public interface IRagPostChunkService extends IWaveService<RagPostChunk> {

    QueryChain<RagPostChunk> getQueryChain(RagPostChunkQuery query);

    List<RagPostChunk> searchHybrid(String kw,
                                    byte[] vec,
                                    int topK);
}
